New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: consider celery imports from common settings plus env tokens #29739
Conversation
Thanks for the pull request, @MaferMazu! I've created OSPR-6369 to keep track of it in JIRA, where we prioritize reviews. Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
@MaferMazu Thank you for your contribution. Please let me know once this is ready for our review. |
05ee114
to
e6113b3
Compare
@natabene Thank you for being so attentive. Is ready for review :D |
@MaferMazu Great, let's first see how checks turn out. |
7a1f97c
to
522f6f2
Compare
@MaferMazu Hi, thanks for this commit. I'm trying to understand what this setting does. Can you give me more details about how this setting (CELERY_IMPORTS) would be used? If you could point me to code that would use this setting, that would be great. |
522f6f2
to
bb1bb33
Compare
I'm interested in having some celery imports in environment variables, and I propose this PR so that my environment variables don't overwrite changes like these: https://github.com/openedx/edx-platform/pull/29173/files cc @jinder1s |
bb1bb33
to
a77c46f
Compare
a77c46f
to
c70e0e6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the later approval. Thanks for this PR!
Thanks for your review :D, i am going to rebase. |
c70e0e6
to
ef1c7c8
Compare
ef1c7c8
to
1b94fdc
Compare
Hi there! @MaferMazu, can you rebase and fix the failing tests? Thanks! Also, you can change your commit to be more descriptive. Maybe try: |
@MaferMazu Just checking if you are still interested in pursuing this. |
Excuse me @mariajgrimaldi and @natabene |
1b94fdc
to
2c2ff37
Compare
2c2ff37
to
8612f79
Compare
8612f79
to
01bc727
Compare
01bc727
to
f9d762a
Compare
f9d762a
to
a88b565
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great. Thanks!
@MaferMazu 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production. |
EdX Release Notice: This PR may have caused e2e tests to fail on Stage. If you're a member of the edX org, please visit #e2e-troubleshooting on Slack to help diagnose the cause of these failures. Otherwise, it is the reviewer's responsibility. E2E tests have failed. https://gocd.tools.edx.org/go/tab/pipeline/history/deploy_to_stage |
EdX Release Notice: This PR has been deployed to the production environment. |
EdX Release Notice: This PR has been rolled back from the production environment. |
1 similar comment
EdX Release Notice: This PR has been rolled back from the production environment. |
Description
This allows to add extra celery imports from environment variables.
Other info
For this PR I take the suggestion to change the tuple for a list and to use the name
CELERY_EXTRA_IMPORTS
from this commentFor more information: Discuss Post
Related PR: #30222